﻿@using SchoolProject2012.Langue
@{
    ViewBag.Title = "ContactClasse";
}

@using (Html.BeginForm(null, null, FormMethod.Post, new { @class = "form" }))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>@Resources.contactClasse</legend>
        
        <div class="editor-label">
            @Html.Label("Objet")
        </div>
        <div class="editor-field">
            @Html.TextBox("subject")
            @Html.ValidationMessage("subject")
        </div>

        <div class="editor-label">
            @Html.Label("message")
        </div>
        <div class="editor-field">
            @Html.TextArea("message")
            @Html.ValidationMessage("message")
        </div>

        <p>
            <input type="submit" value="@Resources.valider" />
        </p>
    </fieldset>
}